package com.lanchetech.dao;

import com.lanchetech.bean.vo.BossInviteStatisticsVO;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

import com.lanchetech.bean.request.BossInviteShopReq;
import com.lanchetech.bean.vo.BossInviteShopVO;
import com.lanchetech.entity.BossInviteShop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BossInviteShopMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BossInviteShop record);

    int insertSelective(BossInviteShop record);

    BossInviteShop selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BossInviteShop record);

    int updateByPrimaryKey(BossInviteShop record);

    List<BossInviteShopVO> findAllPage(BossInviteShopReq req);

    BossInviteStatisticsVO getBossInviteStatistics(Long userId);

    List<BossInviteShopVO> getBossInviteShopList(@Param("id") Long id);

    BossInviteShop findOneByShopId(@Param("shopId")Long shopId);

    List<BossInviteShop> findAllByShopIds(List<Long> shopIds);
}